package com.briup.sms.service;

import com.briup.sms.entity.Shop;
import com.github.pagehelper.PageInfo;

/**
 * @Author :xuyang
 * @DateTime:2024/1/11 0:09
 * @Version :v1.0.0
 * ClassName:ShopService
 * Package  :com.briup.sms.service
 * Description:TODO
 */
public interface ShopService {
    //分页查询商品信息
    PageInfo<Shop> findShopInfo(String shopName, Integer pageSize, Integer pageNum);

    //新增或者修改商品信息
    void save(Shop shop);

    //修改商品状态
    void updateShopStatus(Integer id);

    //根据id查商品信息
    Shop getShopInfo(Integer id);
}
